-
Notifications
You must be signed in to change notification settings - Fork 73
Add an isr route to the playground #367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
commit: |
@vicb One thing that i could think of here is that the ISR cache is not preloaded. If it's not it will return a 404
|
💯, that was the issue here, thanks! I'll update the PR. |
Thanks @conico974 for figuring out the issue. I added PR to enable the cache and add tests |
Thanks Nico for figuring out the issue here! |
This works as epxected with
pnpm dev
(Next server):http://localhost:3000/isr/1 (and 2, 3) returns the page, 4 and up return a 404
with
pnpm preview
, http://localhost:8787/isr/N always return a 404@conico974 any idea what's going on here?